package com.neutech.dao;

import com.neutech.entity.business;
import com.neutech.entity.food;

import java.util.ArrayList;
import java.util.List;

public interface businessDAO {
    public List<business> listBusiness();
    public int getBusinessByIdByPass(Integer Id,String Pass);
    public int registerBusiness(Integer Id,String Pass);
    public int getBusinessById(Integer Id);
    public int getBusinessByName(String Name);
    public int addBusiness(business business);
    public int updateBusiness(business business);
    public int deleteBusiness(String Name);

    public int updatePassword(Integer Id,String Pass);
}
